class Interface:
    def __init__(self, index, name, ip, net_mask):
        self.index = index
        self.name = name
        self.ip = ip
        self.net_mask = net_mask
        self.zone = "undefined_default"

    def display_info(self):
        print("Index: {:<5} Name: {:<70} IP: {:<15} Netmask: {:<15} Zone: {}".format(
            self.index,
            self.name,
            self.ip,
            self.net_mask,
            self.zone
        ))

    def set_zone(self, zone):
        self.zone = zone
